# print(1 + 2 - 3)
# print(1 + 2 * 3)
# print(1 + 2 / 3)
# print( (67.5 + 89.0 + 12.9 + 32.2) / 4 )

# avg = (67.5 + 89.0 + 12.9 + 32.2) / 4
# total = (67.5 - avg) ** 2 + (89.0 - avg) ** 2 + (12.9 - avg) ** 2 + (32.2 - avg)** 2
# result = total / 3
# print(result)

# a = 10
# print(type(a))

# a = 0.5
# print(type(a))

# a = 'hello'
# print(type(a))

# a = 'hello'
# print(len(a))
#
# a = 'hello'
# b = 'world'
# print(a + b)

# a = True
# print(type(a))
# b = False
# print(type(b))

# a = 10
# print(type(a))
# a = 'hello'
# print(type(a))

# print('hello')
#
# a = 10
# print(a)
# b = True
# print(b)
#
# num = 10
# print(f'num = {num}')

# num = 0
# num = input('请输入一个整数: ')
# print(f'你输入的整数是 {num}')

# a = input('请输入第一个整数: ')
# b = input('请输入第二个整数: ')
#
# # 进行类型转换
# a = int(a)
# b = int(b)
#
# print(f'a + b = {a + b}')

# print(10 / 0)

# print(1 / 2)

# print(7 % 2)

# print(4 ** 2)
# print(4 ** 0.5)

# print(7 // 2)
# print(-7 // 2)

# a = 10
# b = 20
# print(a < b)
# print(a <= b)
# print(a > b)
# print(a >= b)
# print(a == b)
# print(a != b)

# a = 'hello'
# b = 'world'
# print(a < b)
# print(a <= b)
# print(a > b)
# print(a >= b)
# print(a == b)
# print(a != b)

# print(0.1 + 0.2 == 0.3)

# print(0.1)
# print(0.2)
# print(0.3)
# print(0.1 + 0.2)

# a = 0.1 + 0.2
# b = 0.3
# print(-0.000001 < (a - b) < 0.000001)

# a = 10
# b = 20
# c = 30
# print(a < b and b < c)
# print(a < b and b > c)
# print(a > b or b > c)
# print(a < b or b > c)
# print(not a < b)
# print(not a > b)


# # 链式赋值
# a = b = 10
# # 多元赋值
# a, b = 10, 20
# # 基于多元赋值: 交换两个变量
# a = 10
# b = 20
# a, b = b, a

# a = 10
# a = a + 1
# print(a)
# b = 10
# b += 1
# print(b)

# print("1")
# print("2")
# print("3")

# num = 1
# while num <= 10:
#     print(num)
#     num += 1

# for i in range(1, 11):
#     print(i)

# for i in range(2, 12, 2):
#     print(i)

# for i in range(10, 0, -1):
#     print(i)

# for i in range(1, 6):
#     if i == 3:
#         continue
#     print(f"吃完第 {i} 个包子")

# for i in range(1, 6):
#     if i == 3:
#         break
#     print(f"吃完第 {i} 个包子")

# sum = 0
# count = 0
# while True:
#     num = input("请输入数字:")
#     if num == ';':
#         break
#     num = float(num)
#     sum += num
#     count += 1
# print(sum / count)

# beg end 形参
# def calcSum(beg, end):
#     sum = 0
#     for i in range(beg, end + 1):
#         sum += i
#     print(sum)
#
# # 传递实参
# calcSum(1, 100)
# calcSum(300, 400)
# calcSum(1, 1000)

# def test(a):
#     print(a)
# test(10)
# test('hello')
# test(True)

# def calcSum(beg, end):
#     sum = 0
#     for i in range(beg, end + 1):
#         sum += i
#     return sum
#
# result = calcSum(1, 100)
# print(result)

# # 判定是否是奇数
# def isOdd(num):
#     if num % 2 == 0:
#         return False
#     else:
#         return True
#
# result = isOdd(10)
# print(result)

# # 判定是否是奇数
# def isOdd(num):
#     if num % 2 == 0:
#         return False
#     return True
#
# result = isOdd(10)
# print(result)

# def getPoint():
#     x = 10
#     y = 20
#     return x, y
#
# a, b = getPoint()

def getPoint():
    x = 10
    y = 20
    return x, y

_, b = getPoint()





